<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>提现</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('user/adminIndex/balance_list')}">
        用户ID：
        <input class="form-control" type="text" name="uid" style="width: 200px;" value="{:input('request.uid')}"
               placeholder="请输入用户ID">
     
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('user/adminIndex/balance_list')}">清空</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
           
                <th>用户名</th>
                <th>积分</th>
                <th>创建时间</th>
      
                <th>状态</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                   
                    <td>{$vo['user_login']}</td>
                    <td>{$vo['score']}</td>
                    <td>{:date('Y-m-d H:i:s',$vo['create_time'])}</td>
                         <td>
                        <switch name="vo.state">
                            <case value="0">
                                <span class="label label-danger">待审核</span>
                            </case>
                            <case value="1">
                                <span class="label label-success">审核通过</span>
                            </case>
                            <case value="2">
                                <span class="label label-warning">审核失败</span>
                            </case>
                        </switch>
                         </td>

                    <td>
                    <a class="btn btn-xs btn-primary" href="{:url('AdminIndex/score_edit',array('id'=>$vo['id']))}">审核/查看</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>